<template>
  <div>
   <!--  组件缓存:在切换组件的router-view 处包裹一个标签:<keep-alive></keep-alive>
    include(包含):填写组件名数组,如果设置该属性,则表示只缓存设置的组件
   -->

      <keep-alive :include="['LayoutPage']">
    <router-view></router-view>
    </keep-alive>
  </div>
</template>

<script>

export default {

}
</script>

<style>

</style>
